import { EmitType } from '/#/index';
import { BasicTableProps } from '/@/components/BasicTable/type/BasicTableProps';

export interface TableActionType {
  emit?: EmitType;
  setProps: (props: Partial<BasicTableProps>) => void;
  reload: () => Promise<void>;
  setTableData: <T = Recordable>(values: T[]) => void;
  getDataSource: <T = Recordable>() => T[];
}
